package com.solvePlat.entity;

import com.solvePlat.entity.base.PageParam;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ResourceInfoUser extends PageParam implements Serializable {
    private String uuid;

    private String userId;

    private String skyDriveUrl;

    private String skyDrivePd;

    private String title;

    private String keyWork;

    private String classification;

    private String content;

    private Integer grade;//评级

    private Integer costGrade;//该资源需要消耗多少积分

    private List<String> resrourceClassificationList;

    public ResourceInfoUser(String uuid, String userId, String skyDriveUrl, String skyDrivePd, String title, String keyWork, String classification, String content, Integer grade, Integer costGrade) {
        this.uuid = uuid;
        this.userId = userId;
        this.skyDriveUrl = skyDriveUrl;
        this.skyDrivePd = skyDrivePd;
        this.title = title;
        this.keyWork = keyWork;
        this.classification = classification;
        this.content = content;
        this.grade = grade;
        this.costGrade = costGrade;
    }

    public ResourceInfoUser() {
        super();
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getSkyDriveUrl() {
        return skyDriveUrl;
    }

    public void setSkyDriveUrl(String skyDriveUrl) {
        this.skyDriveUrl = skyDriveUrl == null ? null : skyDriveUrl.trim();
    }

    public String getSkyDrivePd() {
        return skyDrivePd;
    }

    public void setSkyDrivePd(String skyDrivePd) {
        this.skyDrivePd = skyDrivePd == null ? null : skyDrivePd.trim();
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getKeyWork() {
        return keyWork;
    }

    public void setKeyWork(String keyWork) {
        this.keyWork = keyWork == null ? null : keyWork.trim();
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification == null ? null : classification.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}